package com.wn.common.pojo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "酒店房间")
public class HotelHouse {
    private Integer id;

    @Pattern(regexp = "^[0-3]$",message = "请正确选择酒店房型！")
    private String houseType;

    @Min(value=1,message="房间限定人数至少为1！")
    @NotNull(message="请填写房间限定人数！")
    private Integer housePeopleNum;

    @Min(value=0L)
    @NotNull(message = "请填写房间价格！")
    private Long housePrice;

    @NotBlank(message = "房间基础设施信息！")
    private String houseBaseMsg;

    @NotBlank(message = "请填写房间使用评论！")
    private String houseComment;

    @NotBlank(message = "请填写客房小贴士！")
    private String houseTips;

    @NotBlank(message = "请填写房间设施信息！")
    private String houseSetMsg;

    private String houseImages;

    @NotNull(message = "请填写剩余客房数！")
    private Integer houseCount;



}
